package gui.visu.utils;

/**
 * @author Charles Perin
 * 29 mars 2011
 * LIMSI - INRIA Rennes
 * charles.perin@free.fr
 *
 */
public class DisplayDataMoveWithMouse {

	private int moveStart;
	
	private int moveEnd;

	public DisplayDataMoveWithMouse(int moveStart) {
		if(moveStart>0){
			this.setMoveStart(moveStart);
			this.setMoveEnd(moveStart);
		}
		else{
			this.setMoveStart(0);
			this.setMoveEnd(0);
		}
	}

	public void setMoveStart(int moveStart) {
		this.moveStart = moveStart;
	}

	public int getMoveStart() {
		return moveStart;
	}

	public void setMoveEnd(int moveEnd) {
		this.moveEnd = moveEnd;
	}

	public int getMoveEnd() {
		return moveEnd;
	}

}
